home *** CD-ROM | disk | FTP | other *** search
- From: solution@gate.net (Ken Walter)
- Message-ID: <4ik2kt$106c@news.gate.net>
- X-Original-Date: 18 Mar 1996 16:22:53 GMT
- Path: in1.uu.net!bounce-back
- Date: 18 Mar 96 23:37:08 GMT
- Approved: fjh@cs.mu.oz.au
- Newsgroups: comp.std.c++
- Subject: Re: Anyone considered inheritable friendship?
- Organization: Solution Technology
- References: <4fnrfr$7b1@engnews1.Eng.Sun.COM> <AFwV3Hn027@qsar.chem.msu.su>
- X-Newsreader: NeoLogic News for OS/2 [version: 4.2]
- X-Auth: PGPMoose V1.1 PGP comp.std.c++
- iQBFAgUBMU3zrOEDnX0m9pzZAQG5BwF8DGfMOjTUtY9kiRXcGHyYboCwaWj8FR/B
- R28c7Ut8hh75FFmvrkOiXMcCCmrEdiUu
- =EOZZ
-
- Inheirated friends could be thought of as a notational alternative of class
- member functions. Its used like that for operators at times.
- There isn't any 'this', but access with given to all parameters of that class.
-
- There would be public, protected and private friends. They would inheirate
- like methods. The strangeness comes from things like a private friend
- which could only be called from the class itself or another private friend.
-
- Ken Walter
-
- * All the above is hearsay and the opinion of nobody in particular
- ---
- [ comp.std.c++ is moderated. To submit articles: try just posting with ]
- [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
- [ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
- [ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
- [ Comments? mailto:std-c++-request@ncar.ucar.edu ]
-